package com.hex.ds.hdtp.core.inf.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

/**
 * @Description: Jdbc-Kerberos认证的System设置的key值
 * @Package: com.hex.ds.hdc.source.jdbc.common.enums
 * @ClassName: JdbcKerberosSystemConfigurationEnum
 *
 * @Author: xiaoma
 * @Date: 2021/11/24 17:42
 * @Version: v1.0
 **/
@AllArgsConstructor
public enum JdbcKerberosSystemConfigurationEnum {
    /** Jdbc-Kerberos认证的System设置的key值 */
    JAVA_SECURITY_KRB5_CONF("java.security.krb5.conf","");

    @Getter
    private final String value;
    @Getter
    private final String desc;

    public static List<String> getValues() {
        return Arrays.stream(JdbcKerberosSystemConfigurationEnum.values()).map(t -> t.getValue()).collect(Collectors.toList());
    }
}